<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>cargo-c</Name>
        <Homepage>https://github.com/lu-zero/cargo-c</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        <Summary>A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Summary>
        <Description>A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries</Description>
        <Archive sha1sum="539538a58dbe638ff336980c18910738f8364e00" type="targz">
            https://github.com/lu-zero/cargo-c/archive/refs/tags/v0.9.15.tar.gz
        </Archive>
        <Archive target="cargo-c-0.9.15" sha1sum="f63f2d4a24ccce1ea8c1d5257b9c7b2958644fb5" type="binary">
            https://github.com/lu-zero/cargo-c/releases/download/v0.9.15/Cargo.lock
        </Archive>
        <BuildDependencies>
            <Dependency>rust</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>libssh2-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- <Patch level="1">cargo-c-fix-metadata.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>cargo-c</Name>
        <RuntimeDependencies>
            <!-- <Dependency>rust</Dependency> -->
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2023-04-22</Date>
            <Version>0.9.15</Version>
            <Comment>Version bump.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="1">
            <Date>2021-11-02</Date>
            <Version>0.9.5</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
